﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ComicBook.DataModels
{
    public class Comic
    {
        public int Id { get; set; }
        public string Title { get; set; }
        public string Image { get; set; }
        //public Author Author { get; set; }
        public virtual List<Character> Characters { get; set; }
        public virtual List<AuthorComicBook> AuthorComic { get; set; }
        public void setProps(Comic comic)
        {
            this.Title = comic.Title;
            this.Image = comic.Image;
            //this.Author = comic.Author;
            this.Characters = comic.Characters;

        }

    }
}
